package his.entity;

public class User {
	private int ID;  //id
	private String UserName;  //登录用户名
	private String password;  //密码
	private String RealName;  //真实姓名
	private int UseType;  //用户类别
	private int DocTitleID;  //医生职称id
	private String IsScheduling;  //是否参与排班
	private int DeptID;  //所在科室ID
	private int RegistLeID;  //挂号级别ID
	private int DelMark; //删除标记
	
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	public User(int ID, String UserName, String password, String realName, int useType, int docTitleID,
			String isScheduling, int deptID, int registLeID, int delMark) {
		this.ID = ID;
		this.UserName = UserName;
		this.password = password;
		RealName = realName;
		UseType = useType;
		DocTitleID = docTitleID;
		IsScheduling = isScheduling;
		DeptID = deptID;
		RegistLeID = registLeID;
		DelMark = delMark;
	}
	public int getId() {
		return ID;
	}
	public void setId(int ID) {
		this.ID = ID;
	}
	public String getUserName() {
		return UserName;
	}
	public void setUserName(String UserName) {
		this.UserName = UserName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRealName() {
		return RealName;
	}
	public void setRealName(String realName) {
		RealName = realName;
	}
	public int getUseType() {
		return UseType;
	}
	public void setUseType(int useType) {
		UseType = useType;
	}
	public int getDocTitleID() {
		return DocTitleID;
	}
	public void setDocTitleID(int docTitleID) {
		DocTitleID = docTitleID;
	}
	public String getIsScheduling() {
		return IsScheduling;
	}
	public void setIsScheduling(String isScheduling) {
		IsScheduling = isScheduling;
	}
	public int getDeptID() {
		return DeptID;
	}
	public void setDeptID(int deptID) {
		DeptID = deptID;
	}
	public int getRegistLeID() {
		return RegistLeID;
	}
	public void setRegistLeID(int registLeID) {
		RegistLeID = registLeID;
	}
	public int getDelMark() {
		return DelMark;
	}
	public void setDelMark(int delMark) {
		DelMark = delMark;
	}
	@Override
	public String toString() {
		return "doctor [id=" + ID + ", Username=" + UserName + ", password=" + password + ", RealName=" + RealName
				+ ", UseType=" + UseType + ", DocTitleID=" + DocTitleID + ", IsScheduling=" + IsScheduling + ", DeptID="
				+ DeptID + ", RegistLeID=" + RegistLeID + ", DelMark=" + DelMark + "]";
	}
}
